package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 类别对象 detection_cycle
 *
 * @author ruoyi
 * @date 2022-02-21
 */
public class DetectionCycle extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 类别id
     */
    private Long id;

    /**
     * 类别名称
     */
    @Excel(name = "类别名称")
    private String categoryName;

    /**
     * 检测周期
     */
    @Excel(name = "检测周期")
    private Long days;

    /**
     * 天/月 1天2月
     */
    @Excel(name = "天/月 1天2月")
    private Long tianyue;

    /**
     * 检测频率
     */
    @Excel(name = "检测频率")
    private Long frequency;

    /**
     * 检测开始时间
     */
    private String startTime;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 部门id
     */
    private Long deptId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getDays() {
        return days;
    }

    public void setDays(Long days) {
        this.days = days;
    }

    public Long getTianyue() {
        return tianyue;
    }

    public void setTianyue(Long tianyue) {
        this.tianyue = tianyue;
    }

    public Long getFrequency() {
        return frequency;
    }

    public void setFrequency(Long frequency) {
        this.frequency = frequency;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id" , getId()).append("categoryName" , getCategoryName()).append("days" , getDays()).append("tianyue" , getTianyue()).append("frequency" , getFrequency()).append("startTime" , getStartTime()).append("createBy" , getCreateBy()).append("createTime" , getCreateTime()).append("updateBy" , getUpdateBy()).append("updateTime" , getUpdateTime()).append("delFlag" , getDelFlag()).toString();
    }
}
